
package com.dhcc.bpm.modules.content.service.impl;

import com.dhcc.bpm.modules.content.entity.Sdk;
import com.dhcc.bpm.modules.content.vo.SdkVO;
import com.dhcc.bpm.modules.content.mapper.SdkMapper;
import com.dhcc.bpm.modules.content.service.ISdkService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName SdkServiceImpl
 * @Description  SDK信息 服务实现类
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */

@Service
public class SdkServiceImpl extends BaseServiceImpl<SdkMapper, Sdk> implements ISdkService {

	@Override
	public IPage<SdkVO> selectSdkPage(IPage<SdkVO> page, SdkVO sdk) {
		return page.setRecords(baseMapper.selectSdkPage(page, sdk));
	}

	@Override
	public SdkVO getDetailSelfById(Long id) {
		return baseMapper.getDetailSelfById(id);
	}

}
